package com.project.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "RestPOJO",description = "固定的返回值类型")
public class RestPOJO {
    @ApiModelProperty(value = "表示请求是否成功：1000：成功；1001：失败",example = "1001")
    private Integer status;
    @ApiModelProperty(value = "请求后的提示信息",example = "查询成功")
    private String messages;
    @ApiModelProperty(value = "返回查询的数据",example = "User")
    private Object data;




}
